home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / osi / isode / dosisode / DOSREADME < prev    next >
Encoding:
Text File  |  1992-07-06  |  6.8 KB  |  142 lines

  1. I would much prefer you to ftp the source file patches and rebuild the
  2. whole system on your own machine. But as a LAST resort I have included
  3. a file that just contains executables and support directories for all
  4. of the applications. We pay for traffic from our site - and as you can see
  5. this file is considerably bigger than just the source patches. Details of
  6. how to install this are at the end of this file.
  7.  
  8. To rebuild the whole system you will need to FTP the file dosisode80.zip
  9. in binary mode from this site. As well as this file you will also need to
  10. FTP the real isode 8.0 distribution, and the latest DJ GNU C port (I got this
  11. from barnacle.erc.clarkson.edu in /pub/msdos/djgpp).
  12. You don't need the Waterloo package, but might like to have a look at it -
  13. its available from sunee.uwaterloo.ca
  14.  
  15. Getting the GNU c compiler installed is a fair sized task in its own right!
  16. I suggest you do this first.
  17.  
  18. You will need at least a 386sx machine and lots of disk space! (80Mb min)
  19.  
  20. pkunzip my file with the -d option and have a look at what's there.
  21.  
  22. My own directory structure looks a bit like this...
  23.  
  24. c:\pkay\isode8\...
  25.        \isode8.wrk\...
  26.        \pkdos\...
  27.        \sockets\...
  28.        \gcc201\...
  29.   \etc\...
  30.   \tmp\...
  31.   \bin\...
  32.  
  33. Because I share the machine with other people I hide everything in the pkay
  34. directory. However I put the etc directory at the top level, just in case
  35. someone only wants the executables. (The executables have the path of the
  36. etc directory hard-coded into them)
  37.  
  38. It is advisable NOT to hide the directories down one level. Things will
  39. not work if you hide them more than one level down! (The tar program I supply
  40. to untar the isode distribution gets confused if you get too many layers
  41. down, and the 'others' directory is very deep!)
  42.  
  43. Have a look at the config.sys file and autoexec.bat file. You will need to
  44. edit these files to reflect where you put your directories. (Inside the
  45. \pkay\pkdos\.. directory there is a PD mv command that allows you to swap whole
  46. trees around).
  47.  
  48. There are too many ways that the config.sys and autoexec.bat file can be
  49. screwed up, so I will assume that you are sufficiently experienced with DOS
  50. to handle any problems yourself. NB GCC does restrict you A LOT. If all else
  51. fails just run with my files directly!
  52.  
  53. Make sure your PATH variable now has the compiler and my \pkay\pkdos directory
  54. included.
  55.  
  56. You need to arrange a packet driver. GCC plays around with some of the
  57. interrupt numbers available for the packet driver! I strongly advise you to use
  58. int 0x60. - certainly nothing above 0x70 will work.
  59.  
  60. Getting the real isode dist loaded.... In the \pkay\pkdos directory there is
  61. an uncompress utility, so after you have ftp'd it from your local isode archive
  62. comp430d -d isode-8.z (or whatever name you called it) will decompress it.
  63.  
  64. Un-tarring the resultant file is a little tricky. DOS restricts us to 8+3
  65. filenames. If we supply it with more it happily truncates. There are a few
  66. files in ISODE that are not unique to 8 characters. DJTARXX in the \pkay\pkdos
  67. directory will untar the standard isode distribution and will convert
  68. any non-unique filenames. You must use this program to get the isode
  69. distribution installed as the converted filenames are known to the rest of
  70. the build files. DJTARXX expects that you have set all the environmental
  71. variables in the autoexec.bat file! It uses one of the 'isode' ones
  72. to point it to the file utils\convert.lst that holds the conversions.
  73.  
  74. This untarring results in a top level directory of ISODE-8.0, I didn't care
  75. for this particularly, so renamed it (using mv) to be ISODE8. Which explains
  76. my tree structure. You might also like to do this.
  77.  
  78. From now one you should realise that all the work goes on in the ISODE8.WRK
  79. directory ISODE8 never really gets altered (not quite true) ISODE8.WRK
  80. mirrors all the directories of the real distribution. Any files that I change
  81. I put in there. The make procedure just picks a file from there if it exists
  82. or from the ISODE8 tree if it hasn't altered. That way I can keep my changes
  83. separate from the real files.
  84.  
  85. There is ONE file that you need to edit before you can make the system.
  86. ISODE8.WRK\utils\i contains some linker directives that couldn't be handled
  87. using environmental variables. You should edit this file to reflect your own
  88. placement of directories. It also has to know about where your etc tmp and
  89. bin directories are.
  90.  
  91. Thats all there is to it! now just type MAKE in the ISODE8.WRK directory and
  92. wait around for a few hours! The make files are all just standard DOS batch
  93. files. It may be that I use batch facilities only available at DOS version
  94. X or greater. I don't know. I'm running DOS version 5.0
  95.  
  96. To configure the system...
  97.  
  98. First of all you have to do all the normal configuration associated with
  99. isode. The files in /etc are my configuration.
  100. Secondly there are some IP type files in /etc that need to be altered.
  101. resolv.conf contains the name of your nameserver. The hosts file is used
  102. as a fallback.
  103.  
  104. Well thats about all, apart from the important piece of glue that I wrote.
  105. In the \sockets\.. directory you will find a tsr called sockets. This program
  106. should be loaded once when you switch the machine on. It links between the
  107. protected address space of the 386 programs and the real mode tcp/ip package.
  108. You shouldn't be able to load it more than once. If you don't load it the
  109. applications will tell you that you haven't. At present there is no in built
  110. method for removing the tsr. Beware! the TSR uses some un-used(?) sub-functions
  111. of the DOS Printer interrupt int 17h (ah>2). It was one way I could easily
  112. bridge the gap between the two worlds. If you run any other programs that
  113. hack like I do, you will get into trouble.
  114. In the \pkay\sockets directory you will also find a configuration file
  115. for the Waterloo TCP/IP package - you should alter this file to
  116. reflect your own network numbers.
  117.  
  118. The last time I did this with VMS I found several problems with the
  119. distribution (that I quickly fixed). If you do have problems please let me know
  120. - it may also pay you to keep looking at the size/datestamp of the
  121. distribution file at 130.123.1.4 to see if any other changes have been made!
  122.  
  123.  
  124. Peter Kay (PKay@massey.ac.nz)
  125.  
  126.  
  127. ------------------------------------------------
  128. binary installation.
  129.  
  130. pkunzip the file with the -d option.
  131. Look at my autoexec.bat and config.sys files. Encorporate them into your
  132. system. Pay particular attention to to the GO32 variable. You'll find
  133. a copy of the support files in the /pkdos/ directory. The variables associated
  134. with compiling/linking are not needed.
  135. Make sure that the directory pointed to by GO32TMP exists.
  136. Get a packet driver loaded - preferably at 0x60 certainly NOT above 0x6f
  137. Configure the standard isode /etc files as for standard isode.
  138. Change the resolv.conf file to point to your nameserver.
  139. Alter the wattcp.cfg file in /sockets to reflect your network numbers
  140. start the SOCKETS TSR going in the /sockets directory
  141. execute an application
  142.